<!doctype html>
<html>
{include file="head.html"}

<body>
<div class="header" >
  <a  class="left-btn pointer" href="{$appadmin}?m=ymdian_dakuan" ><span class="iconfont icon-back"></span></a>
  <div class="title">打款管理</div>
</div>
<div class="main-body">
	 <div class="uclist ">
     	<div class="item pd-5">
     	<div class="hd">
        	{if $data.status eq 1}待完成{elseif $data.status eq 2}已完成{else}已取消{/if} <span class="right">￥{$data.money}</span>
        </div>
        
        <div class="row h30">到期时间：{$data.endtime|date:Y-m-d} <span class="right">生成时间：{$data.dateline|date:Y-m-d}</span></div>
        <div class="row h30">学校：{$site.sitename} <span class="right">店铺：{$shop.title}</span></div>
        <div class="row h25">
            	{if $data.ispay neq 2} 
                	未付款 
                	{if time()>$data.endtime}<span style="color:red">打款超时</span>{/if}
                 {else} 已付款  {$data.paytime|date:Y-m-d H:i:s} {if $c.iswg}已违规{else}正常{/if} {/if} 
            </div> 	
        
            <div class="info">{$data.content}</div>
             
            
             
            <div class="textarea-row">
            	<label>付款信息</label>
                <textarea id="payinfo" name="payinfo" readonly>{$data.payinfo}</textarea>
                
             </div>
              
             <div class="row">
             <div class="col-2-1">
             	<a href="{$appadmin}?m=ymdian_dakuan&a=finish&id={$data.id}" class="btn btn-row">确认付款了</a>
             </div>
             <div class="col-2-1">
             <a href="{$appadmin}?m=ymdian_dakuan&a=cancel&id={$data.id}" class="btn btn-row">取消</a>
             </div>          
             </div>
             
        </div>
     </div>
</div>
 
</body>
</html>
